import request from "../utlis/Request"



export default{

    userAccountList(){
        return request({
            method: 'get',
            url: '/account/userAccountList'
        })
    },
    userAccountListLike(name){
        return request({
            method: 'get',
            url: '/account/userAccountListLike',
            params: {
                name: name
            }
        })
    },
    updataAccount(id, overage){
        return request({
            method: "put",
            url: '/account/updataAccount',
            data: {
                id: id,
                overage: overage
            }
        })
    },
    queryOverageById(id){
        return request({
            method: 'get',
            url: '/account/queryOverageById',
            params: {
                uid: id
            }
        })
    }

}